#include "BlazeEngineLibrary.h"


BeLibrary::BeLibrary(std::string strFileName) :
	m_strFileName(strFileName),
	m_hInstance(NULL)
{

}

BeLibrary::~BeLibrary()
{

}

std::string BeLibrary::GetFileName()
{
	return m_strFileName;
}

void BeLibrary::Load()
{
	m_hInstance = (Library_Handle)Library_Load(m_strFileName.c_str());

}

void BeLibrary::Unload()
{
	Library_Unload(m_hInstance);
}

void* BeLibrary::GetProc(std::string strProc)
{
	return (void*)Library_GetProc(m_hInstance, strProc.c_str());
}

